package com.macw.ww_system.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 素材
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsMaterial对象", description="素材")
public class CmsMaterial implements Serializable {

    private static final long serialVersionUID = 1L;

    private String materialId;

    @ApiModelProperty(value = "分组id")
    private String groupId;

    @ApiModelProperty(value = "素材名称")
    private String materialName;

    @ApiModelProperty(value = "素材类型 字典 1图片2视频3文本")
    private String materialType;

    @ApiModelProperty(value = "素材描述")
    private String description;

    @ApiModelProperty(value = "素材大小")
    private String materialSize;

    @ApiModelProperty(value = "保存路径")
    private String savePath;

    @ApiModelProperty(value = "缩略图")
    private String thumbnail;

    @ApiModelProperty(value = "审核状态 0待审批2未通过1通过")
    private String auditState;

    @ApiModelProperty(value = "审核意见")
    private String auditReason;

    @ApiModelProperty(value = "可用状态 0停用1启用")
    private String useState;

    @ApiModelProperty(value = "分辨率 宽")
    private String width;

    @ApiModelProperty(value = "分辨率 高")
    private String height;

    @ApiModelProperty(value = "上传者 id")
    private String uploaderId;

    @ApiModelProperty(value = "上传日期")
    private LocalDateTime uploadTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
